import { createRouter, createWebHistory } from 'vue-router'
import BigScreenView from '@/views/BigScreenView.vue';

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  // 保留规则数组为空数组
  routes: [
    //  2. 配置路由规则
    { path: '/', redirect: '/big-screen' },
    { path: '/big-screen', component: BigScreenView, name: 'BigScreenView' },
  ]
})

export default router
